let qCloud = require("../../index.js");
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    needdo: {
      type: 'int',
      value: 0
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    imgPath: qCloud.config.STATIC_IMAGE_PATH,
  },

  /**
   * 组件的方法列表
   */
  methods: {
    todetail(e) {
      if (this.data.needdo == 1) {
        wx.navigateTo({
          url: '/pages/enterprise/outbound/details',
        })
      }
    },
  }
})
